package com.buba.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 张宇飞
 * @Description: 页面跳转
 * @date 2021/8/3015:25
 */
@Controller
public class PageController {


    /**
     * 页面跳转 resufel风格
     * @param page
     * @return
     */
    @RequestMapping("/{page}")
    public String page(@PathVariable String page){
        return page;
    }


    /**
     * 跳转首页
     * @return
     *//*
    @RequestMapping("/")
    public String index(){
        return "index";
    }*/
}
